package org.example.myleet.p593;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(!solution.validSquare(new int[]{-3, 1}, new int[]{0, 0}, new int[]{0, 10}, new int[]{3, 1}));
        Assert.isTrue(!solution.validSquare(new int[]{0, 0}, new int[]{1, 1}, new int[]{0, 0}, new int[]{0, 0}));
        Assert.isTrue(!solution.validSquare(new int[]{0, 0}, new int[]{-1, 0}, new int[]{1, 0}, new int[]{0, 1}));
        Assert.isTrue(solution.validSquare(new int[]{0, 0}, new int[]{1, 1}, new int[]{1, 0}, new int[]{0, 1}));
        Assert.isTrue(!solution.validSquare(new int[]{0, 0}, new int[]{1, 1}, new int[]{1, 0}, new int[]{0, 12}));
        Assert.isTrue(solution.validSquare(new int[]{1, 0}, new int[]{-1, 0}, new int[]{0, 1}, new int[]{0, -1}));
    }
}
